﻿Ext.define('GW.view.BibleTree', {
	extend: 'Ext.panel.Panel',
	alias: 'widget.bibletree',
	title: 'Navigation',
	bodyPadding: '5 0 0 0',
	collapsible: true,
	
	tbar: [
	        {
	        	xtype: 'combo',
	        	flex: 1,
	        	hideLabel: true,
	        	editable: false,
	        	queryMode: 'local',
	        	emptyText: 'Book',
	        	itemId: 'bookCombo',
	        	store: 'BibleToc',
	        	displayField: 'text',
	            valueField: 'id',
	            matchFieldWidth: true
	        },
	        {
	        	xtype: 'combo',
	        	flex: 1,
	        	hideLabel: true,
	        	editable: false,
	        	queryMode: 'local',
	        	emptyText: 'Chapter',
	        	itemId: 'chapterCombo',
	        	disabled: true
	        },
	        {
	        	xtype: 'combo',
	        	flex: 1,
	        	hideLabel: true,
	        	editable: false,
	        	queryMode: 'local',
	        	emptyText: 'Verse',
	        	itemId: 'verseCombo',
	        	disabled: true
	        }
	]/*,
	
	initComponent: function(){
		this.store = Ext.data.StoreManager.lookup('BibleToc');
		this.callParent(arguments);
	}*/
});